package Month07.day15.test2;

public class Player extends Person {
    @Override
    public void eat() {
        System.out.println("吃营养餐");
    }

    private int PlayerNum;
    private String ClassS;

    public Player() {
    }

    public Player(int playerNum, String classS) {
        PlayerNum = playerNum;
        ClassS = classS;
    }

    public Player(String name, String sex, int age, int playerNum, String classS) {
        super(name, sex, age);
        PlayerNum = playerNum;
        ClassS = classS;
    }

    public int getPlayerNum() {
        return PlayerNum;
    }

    public void setPlayerNum(int playerNum) {
        PlayerNum = playerNum;
    }

    public String getClassS() {
        return ClassS;
    }

    public void setClassS(String classS) {
        ClassS = classS;
    }
}
